package com.qianfeng.dbsm.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.ToString;

import java.io.Serializable;

/**
 * 会员表(TbMember)表实体类
 *
 * @author makejava
 * @since 2022-11-14 19:33:36
 */
@SuppressWarnings("serial")
@ToString
public class TbMember extends Model<TbMember> {

    //会员ID
    @TableId(type = IdType.AUTO)
    private Integer memberId;
    //会员账号
    private String memberAccount;
    //会员昵称
    private String memberNickname;
    //会员密码
    private String memberPassword;
//    //会员角色
//    private Integer memberRole;
    //会员信息ID
    private Integer memberMessageId;
    //钱包ID
    private Integer memberWalletId;
    //会员自我介绍(真实姓名)
    private String memberIntroduce;
    //会员个性签名
    private String memberSign;
    //会员性别
    private String memberGender;

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    public String getMemberAccount() {
        return memberAccount;
    }

    public void setMemberAccount(String memberAccount) {
        this.memberAccount = memberAccount;
    }

    public String getMemberNickname() {
        return memberNickname;
    }

    public void setMemberNickname(String memberNickname) {
        this.memberNickname = memberNickname;
    }

    public String getMemberPassword() {
        return memberPassword;
    }

    public void setMemberPassword(String memberPassword) {
        this.memberPassword = memberPassword;
    }

//    public Integer getMemberRole() {
//        return memberRole;
//    }
//
//    public void setMemberRole(Integer memberRole) {
//        this.memberRole = memberRole;
//    }

    public Integer getMemberMessageId() {
        return memberMessageId;
    }

    public void setMemberMessageId(Integer memberMessageId) {
        this.memberMessageId = memberMessageId;
    }

    public Integer getMemberWalletId() {
        return memberWalletId;
    }

    public void setMemberWalletId(Integer memberWalletId) {
        this.memberWalletId = memberWalletId;
    }

    public String getMemberIntroduce() {
        return memberIntroduce;
    }

    public void setMemberIntroduce(String memberIntroduce) {
        this.memberIntroduce = memberIntroduce;
    }

    public String getMemberSign() {
        return memberSign;
    }

    public void setMemberSign(String memberSign) {
        this.memberSign = memberSign;
    }

    public String getMemberGender() {
        return memberGender;
    }

    public void setMemberGender(String memberGender) {
        this.memberGender = memberGender;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.memberId;
    }
    }

